/* ================================================== */
/* STYLY PRO INSTALAČNÍ TABULKY ERPI-DOMOV */
/* ================================================== */

.installation-guide {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.installation-guide th {
    background-color: #f5f7fa;
    padding: 12px 20px;
    text-align: left;
    font-size: 1.3em;
    color: #333;
    border-bottom: 2px solid #00009b;
}

.installation-guide td {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.installation-guide tr:last-child td {
    border-bottom: none;
}

.installation-guide .icon-cell {
    width: 80px;
    text-align: center;
}

.installation-guide .icon-cell img {
    max-width: 60px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.installation-guide .step-content .step-title {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
    margin: 0 0 5px 0;
}

.installation-guide .step-content .step-description {
    color: #555;
    margin: 0;
    line-height: 1.5;
}


.faq-hub-item:hover .faq-hub-text h2 {
    color: #00009b; /* Změna barvy nadpisu při najetí myší */
}

.faq-hub-text p {
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Změna na jeden sloupec na mobilních zařízeních */
@media (max-width: 768px) {
    .faq-hub-container {
        grid-template-columns: 1fr; /* Jeden sloupec */
    }
    .faq-hub-item {
        padding: 20px;
    }
    .faq-hub-image {
        width: 70px;
        height: 70px;
        margin-right: 20px;
    }
}

/* 
   * FINÁLNÍ STYLY PRO FAQ MODUL (HLAVNÍ ROZCESTNÍK) - VERZE PRO 4 DLAŽDICE (2x2)
   * Zarovnání vlevo a symetrická mřížka pro profesionální vzhled se sidebarem.
  */
  #faq-module-wrapper {
    max-width: 1100px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
    /* Zarovnání celého bloku vlevo je klíčové */
    text-align: left; 
  }
  
  #faq-module-wrapper * {
    box-sizing: border-box;
  }

  #faq-module-wrapper .faq-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #001F80;
  }

  #faq-module-wrapper .faq-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
    color: #333;
  }

  /* Mřížka nastavená pro 2 sloupce na širších obrazovkách */
  #faq-module-wrapper .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  #faq-module-wrapper .faq-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    background-color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
  }

  #faq-module-wrapper .faq-card:hover {
    transform: translateY(-4px);
  }

  #faq-module-wrapper .faq-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }

  #faq-module-wrapper .faq-content {
    background-color: #071483;
    color: #fff;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  #faq-module-wrapper .faq-content h2 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
  }

  #faq-module-wrapper .faq-content p {
    font-size: 16px;
    margin-bottom: 20px;
    flex-grow: 1;
  }

  #faq-module-wrapper .faq-content a {
    display: inline-block;
    background-color: #fe0000;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.2s ease;
    align-self: center;
  }

  #faq-module-wrapper .faq-content a:hover {
    background-color: #c10510;
  }

  .faq-divider {
    border: 0;
    height: 1px;
    background-color: #e0e0e0;
    margin: 60px 0 25px 0;
  }

  .faq-contact-text {
    font-size: 16px;
    color: #333;
  }

  .faq-contact-text a {
    color: #00009b;
    font-weight: bold;
    text-decoration: none;
  }

  .faq-contact-text a:hover {
    text-decoration: underline;
  }

/* 
 * ============================================
 * MODERNÍ STYLY PRO FAQ PODSTRÁNKY
 * ============================================
 */

/* --- Základní kontejner --- */
.faq-content-section {
  color: #333;
  line-height: 1.6;
}

/* --- Typografie --- */
.faq-content-section h2 {
  font-size: 2em;
  color: #2c3e50;
  border-bottom: 2px solid #e0e0e0; /* Změněno na šedou */
  padding-bottom: 10px;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* --- Interaktivní prvky <details> a <summary> --- */
.faq-content-section details {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
}

.faq-content-section details:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.faq-content-section summary {
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  padding: 15px 20px;
  position: relative;
  display: flex;
  align-items: center;
  color: #00009b;
  outline: none;
}

/* --- Vlastní šipka pro rozbalení --- */
.faq-content-section summary::before {
  content: '›';
  font-size: 1.8em;
  line-height: 1;
  margin-right: 15px;
  color: #00009b; /* Změněno na tmavě modrou */
  transition: transform 0.3s ease;
}

.faq-content-section details[open] > summary::before {
  transform: rotate(90deg);
}

/* --- Obsah odpovědi --- */
.faq-content-section details > div {
  padding: 10px 20px 20px 45px;
  border-top: 1px solid #e0e0e0;
}

.faq-content-section ul {
  padding-left: 20px;
}

/* 
 * --- STYLY PRO PŘEHLEDNOU TABULKU ---
 */
.faq-tabulka {
  border-collapse: collapse;
  width: 100%;
  margin: 25px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #e0e0e0;
}

.faq-tabulka th,
.faq-tabulka td {
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  text-align: left;
}

.faq-tabulka thead th {
  background-color: #f8f9fa;
  font-weight: bold;
  color: #333;
}

.faq-tabulka tbody tr:nth-of-type(even) {
  background-color: #fdfdfd;
}

.faq-tabulka tbody tr:hover {
    background-color: #f1f1f1;
}

/* --- Kontaktní box --- */
.contact-box {
  margin-top: 40px;
  padding: 25px;
  border: 1px solid #e0e0e0;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.contact-box h3 {
  margin-top: 0;
  font-size: 1.5em;
  color: #2c3e50;
}
/* Oprava pro kontaktní box - odstranění automaticky přidávaného textu */
.contact-box a::after,
.contact-box strong::after {
  content: none !important;
}
